﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OverStore.Runtime.Storage;

namespace OverStore.TutorialAsTest.UnitTest.Configuration.Mocks
{
    class MockAdoNetDataSource : IDataStorage
    {
        #region IAdoNetDataSource Members

        public void CommitTransaction(object transaction)
        {
            
        }

        public System.Data.IDbCommand CreateCommand(object transaction)
        {
            throw new NotImplementedException();
        }

        public void RollbackTransaction(object transaction)
        {
            
        }

        #endregion

        #region IAdoNetDataSource Members

        public System.Data.IDbCommand CreateCommand()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDataStorage Members


        public IRecord Read(ICommand command, IRecord parameters, out int rowsAffected)
        {
            throw new NotImplementedException();
        }

        public TypedRecord Write(ICommand command, IRecord parameters, out int rowsAffected)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<IRecord> ReadAll(ICommand command, IRecord parameters)
        {
            throw new NotImplementedException();
        }

        #endregion
        
        #region IDataStorage Members


        IEnumerable<TypedRecord> IDataStorage.ReadAll(ICommand command, IRecord parameters)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDataStorage Members

        public TypedRecord Execute(ICommand command, IRecord parameters, out int rowsAffected)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDataStorage Members


        public bool Disposed
        {
            get { throw new NotImplementedException(); }
        }

        #endregion

        #region IDataStorage Members


        public OverStore.Scoping.OperationScope OpenScope()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDataStorage Members

        public OverStore.Sql.SqlFormatting SqlFormatting
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
